package com.pie4cloud.pie.bus.api.feign;

import com.pie4cloud.pie.bus.api.dto.ConsumerDto;
import com.pie4cloud.pie.common.core.constant.SecurityConstants;
import com.pie4cloud.pie.common.core.util.R;
import feign.Request;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
public interface RemoteKafkaConsumerService {
	@PostMapping("/kfk/consume")
	public R consume(Request.Options options, @RequestBody ConsumerDto consumerDto, @RequestHeader(SecurityConstants.FROM) String from);
}
